#!/usr/bin/env python

'rfile.py -- read file'

fname = raw_input("Enter the file name:")

try:
	fobj = open(fname, 'r')
except IOerror, e:
	print "*** file open error:", e
else:
	for line in fobj:
		print line.strip('\n')
	fobj.close()
